<?php

namespace App\Library\Traits\Orm;

use App\Models\UserDmModel;
use Illuminate\Database\Eloquent\Relations\HasOne;

trait ShopUserOrmTrait
{
    //原价最大金额
    public function dm(): HasOne
    {
        return self::hasOne(UserDmModel::class, 'user_id', 'user_id');
    }
}
